#ifndef _FallApartState_H_
#define _FallApartState_H_

#include "State.h"
#include "AITypes.h"
#include <ProgramCommon/WzDataType.h>

class FallApartState : public State
{
public:
	FallApartState();
	~FallApartState();

	virtual VOID			Init();
	virtual VOID			OnEnter( LPARAM param1, LPARAM param2, LPARAM param3 );
	virtual VOID			OnExit();
	virtual VOID			OnUpdate( DWORD dwDeltaTick );

protected:
	virtual VOID			OnMsgLetsGo( AI_MSG *pMsg );
	virtual VOID			OnMsgEnemyFound( AI_MSG *pMsg );

private:
	
	VOID					FallApart();

	BOOL					m_bFindDestPos;
};

#endif // _FallApartState_H_